package sar

class Student {
	User user
	String studentId;
	static constraints = {
		studentId blank:false, nullable:false, unique:true
	}
	static mappedBy=[studentId:'studentID']
	@Override
	public String toString() {
		return studentId+" : "+user.fullname
	}
}
